package com.dt76.smallloanbackendservice.service.afterloan;

import com.dt76.smallloanbackendservice.pojo.afterloan.PrepaymentCommitInfo;
import com.dt76.smallloanbackendservice.pojo.afterloan.RepaymentCommitInfo;
import com.dt76.smallloanbackendservice.pojo.afterloan.RepaymentInfo;
import com.dt76.smallloanbackendservice.pojo.afterloan.RepaymentQualification;
import com.dt76.smallloanbackendservice.utils.PageResult;

import java.util.List;

public interface RepaymentService {

    PageResult qryAll(Integer cuPage, Integer size, RepaymentQualification q);

    List<RepaymentInfo> getById(Integer id);

    Integer modifyCommitInfo(Integer repaymentId, RepaymentCommitInfo info);

    Integer modifyPrepaymentInfo(PrepaymentCommitInfo q, Integer loanId);
}
